package com.ruoyi.project.business.askleave.request;

import java.time.LocalTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 请假对象 schedule_ask_leave
 * 
 * @author ${author}
 * @date 2024-04-11
 */
@Data
public class ListAskLeaveRequest {

    private Long id;

    /** 用户ID */
    private Long userId;

    /** 假期类型 HolidayType 1: 调休 2: 年假 3: 病假 4: 事假 5: 婚假 6: 丧假 7: 产假 8: 陪产假 9:工伤假  10:产检假  11:流产假  12: 哺乳假 */
    private Integer holidayType;

    /**
     * 考勤月 yyyy-MM
     */
    @JsonFormat(pattern = "yyyy-MM")
    @DateTimeFormat(pattern = "yyyy-MM")
    private Date yearMonth = new Date();

}
